Skip to content

Generate new API credentials (client ID and secret) for a service account

Request

Security
JWTAuthorizer
Path
namestringrequired

The name of the service user

curl -i -X POST \
  'https://apidocs.trustgrid.io/_mock/v2/service-user/{name}/token' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

API credentials

Bodyapplication/json
clientIdstring
secretstring
Response
{ "clientId": "string", "secret": "string" }